<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.is.util.ParamUtil"%>
<%@page import="com.is.control.ParamClassControl"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../resources/css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../resources/js/jquery-1.8.1.js"></script>
<script type="text/javascript" src="../../resources/js/jquery.artDialog.js"></script>
<title>Insert title here</title>
</head>
<body>
<% 
	int id = ParamUtil.getInt(request,"id");
	if(ParamClassControl.deleteParamClass(id)){
%>
	<script>
     $.dialog({
		title: '删除操作',
		content: '系统已将该班级删除',
		icon: 'succeed',
		ok: function(){
				window.location = document.referrer;
		    }
		});
    </script>
<%	
	}else{
%>
	<script>
     $.dialog({
		title: '删除操作',
		content: '对不起！请误删除该班级',
		icon: 'error',
		ok: function(){
				window.history.go(-1);
		    }
		});
    </script>
<%
	}
%>
</body>
</html>